#coding: utf-8
from django.db import models
from django.contrib.auth.models import User

class UserProfile(models.Model):
    # This is the only required field
    user = models.ForeignKey(User, unique=True)
    network_admin = models.BooleanField(u'Администратор сети', default = 0)
    structure_admin = models.BooleanField(u'Администратор оргструктуры', default = 0)